package Chap04;
public class Feeder {
    private String name;

    public Feeder() {
    }

    public Feeder(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void feed(Animal animal,Food food){
        animal.eat(food);
        animal.shout();
    }
}
